package com.xjtu.se.homework.client.history.bean;

import org.springframework.core.io.Resource;
import org.springframework.core.io.UrlResource;

import java.sql.Date;

public class FinalResult {
    private int ques_class;
    private int ans_num;
    private byte[] search_image;
    private String items;
    private Date search_time;
    private String search_id;

    public String getSearch_id() {
        return search_id;
    }

    public void setSearch_id(String search_id) {
        this.search_id = search_id;
    }

    private int is_marked;

    public FinalResult(int ques_class, int ans_num, byte[] search_image, String items, Date search_time, String search_id, int is_marked) {
        this.ques_class = ques_class;
        this.ans_num = ans_num;
        this.search_image = search_image;
        this.items = items;
        this.search_time = search_time;
        this.search_id = search_id;
        this.is_marked = is_marked;
    }

    public int getQues_class() {
        return ques_class;
    }

    public void setQues_class(int ques_class) {
        this.ques_class = ques_class;
    }

    public int getAns_num() {
        return ans_num;
    }

    public void setAns_num(int ans_num) {
        this.ans_num = ans_num;
    }

    public byte[] getSearch_image() {
        return search_image;
    }

    public void setSearch_image(byte[] search_image) {
        this.search_image = search_image;
    }

    public String getItems() {
        return items;
    }

    public void setItems(String items) {
        this.items = items;
    }

    public Date getSearch_time() {
        return search_time;
    }

    public void setSearch_time(Date search_time) {
        this.search_time = search_time;
    }

    public int getIs_marked() {
        return is_marked;
    }

    public void setIs_marked(int is_marked) {
        this.is_marked = is_marked;
    }
}
